﻿using MediatR;
using PublicClass.BreedingEnum;
using PublicClass;
using S.Breeding.Domain;

namespace S.Breeding.Read.Api.Application.Command.LambWeaningCommand
{
    public class LambWeaningListCommand : IRequest<PageInfo<LambWeaning>>
    {
        /// <summary>
        /// 总页数
        /// </summary>
        public int pageIndex { get; set; }

        /// <summary>
        /// 总条数
        /// </summary>
        public int pageSize { get; set; }

        /// <summary>
        /// 羔羊耳号
        /// </summary>
        public string? LambOverbit { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? Sdate { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? Edate { get; set; }
        /// <summary>
        /// 称重日龄（起始）
        /// </summary>
        public int? SWeaningDay { get; set; }

        /// <summary>
        /// 称重日龄（终止）
        /// </summary>
        public int? EWeaningDay { get; set; }

        /// <summary>
        /// 断奶重（起始）
        /// </summary>
        public decimal? SWeaningWeight { get; set; }

        /// <summary>
        /// 断奶重（终止）
        /// </summary>
        public decimal? EWeaningWeight { get; set; }

        /// <summary>
        /// 种母耳号
        /// </summary>
        public string? MomEarbugles { get; set; }
    }
}
